#include "AAAlgo.h"
#include <iostream>
#include <fstream>
#include "ServiceGraph.h"
#include "XmlInputStream.h"
#include "XmlOutputStream.h"


char *ptr;
void test()
{
	xml::XmlInputStream xmlin("immunedatarevision.xml");
	//xml::XmlOutputStream xmlout("scenariorevision.xml");
	xml::XmlData data;

	xmlin>>data;

	//xmlout<<data;

	ServiceGraph sgraph = ServiceGraph();
	sgraph.buildGraph(data);

	
}
int main()
{
	/*
	std::fstream fin("Graph",std::ios::in);
	Graph *g = new Graph;
	g->readGraph(fin);
	//g->printGraph(std::cout);
	//delete g;
	AAAlgo alg = AAAlgo(10, g);
	alg.init();
	delete g;
	*/

	test();
	





	return 0;
}